package com.yxd.util;

import javafx.scene.control.Skin;

/**
 * Created by Administrator on 2016/6/15.
 */
public class StrKit {
    public static String trim(String string) {
        if (string != null) {
            return string.trim();
        }
        return null;
    }

    public static boolean isWhiteSpaceOrNull(String string) {
        string = StrKit.trim(string);
        return string == null || string.equals("");
    }


}

